package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * 总cpu
 *
 * @author shan
 * @date 2022/07/04
 */
public class Cpu implements Serializable {
    
    private CpuBase cpuBase;
    private CpuUse cpuUse;

    public Cpu() {
    }

    public Cpu(CpuBase cpuBase, CpuUse cpuUse) {
        this.cpuBase = cpuBase;
        this.cpuUse = cpuUse;
    }

    public CpuBase getCpuBase() {
        return cpuBase;
    }

    public void setCpuBase(CpuBase cpuBase) {
        this.cpuBase = cpuBase;
    }

    public CpuUse getCpuUse() {
        return cpuUse;
    }

    public void setCpuUse(CpuUse cpuUse) {
        this.cpuUse = cpuUse;
    }

    @Override
    public String toString() {
        return "Cpu{" +
                "cpuBase=" + cpuBase +
                ", cpuUse=" + cpuUse +
                '}';
    }
}
